﻿using DFGK_WMS.Model.Models.LyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.LY
{
    public interface ISupplierReconciliationService
    {
        List<SupplierReconciliation> GetSupplierReconciliationData(string? name, DateTime? startDate, DateTime? endDate,out int totalCount, int pageIndex = 1, int pageSize = 15);
        bool DelSupplierReconciliation(long supplierReconciliationId);
        bool AddOrModefiySupplierReconciliation(SupplierReconciliation model, out string errorMsg);

        SupplierReconciliation? GetSupplierReconciliation(long supplierReconciliationId);
         decimal GetTotalAmountBySupplier(string supplierName);
    }
}
